﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SES.CMS.BL;

namespace SES.CMS.Module
{
    public partial class ucFooter : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
               // rptHuongDanMuaHangDataSource();
               //rptChinhSachDataSource();
                rptMenuFooterMobileDataSource();
            }
        }

        private void rptMenuFooterMobileDataSource()
        {
            rptMenuFooterMobile.DataSource = new cmsMenuBL().Selectmenu(5);
            rptMenuFooterMobile.DataBind();
        }
        //private void rptHuongDanMuaHangDataSource()
        //{
        //    rptHuongDanMuaHang.DataSource = new cmsCategoryBL().SelectByParent(5);
        //    rptHuongDanMuaHang.DataBind();
        //}
        //protected string FriendlyUrl(string strTitle)
        //{
        //    return Ultility.Change_AV(strTitle);
        //}
        //private void rptChinhSachDataSource()
        //{
        //    rptChinhSach.DataSource = new cmsCategoryBL().SelectByParent(10);
        //    rptChinhSach.DataBind();
        //}
    }
}